package org.jeecg.modules.demo.sms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 拼团管理
 * @Author: jeecg-boot
 * @Date:   2020-03-01
 * @Version: V1.0
 */
@Data
@TableName("sms_group")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sms_group对象", description="拼团管理")
public class SmsGroup {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**goodsId*/
	@Excel(name = "goodsId", width = 15)
    @ApiModelProperty(value = "goodsId")
	private java.lang.Integer goodsId;
	/**商品*/
	@Excel(name = "商品", width = 15)
    @ApiModelProperty(value = "商品")
	private java.lang.String goodsName;
	/**商品价格*/
	@Excel(name = "商品价格", width = 15)
    @ApiModelProperty(value = "商品价格")
	private java.math.BigDecimal originPrice;
	/**拼团价格*/
	@Excel(name = "拼团价格", width = 15)
    @ApiModelProperty(value = "拼团价格")
	private java.math.BigDecimal groupPrice;
	/**开始时间*/
	@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
	private java.util.Date startTime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
	private java.util.Date endTime;
	/**拼团小时*/
	@Excel(name = "拼团小时", width = 15)
    @ApiModelProperty(value = "拼团小时")
	private java.lang.Integer hours;
	/**成团人数*/
	@Excel(name = "成团人数", width = 15)
    @ApiModelProperty(value = "成团人数")
	private java.lang.Integer peoples;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
	private java.lang.Integer status;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**拼团总人数*/
	@Excel(name = "拼团总人数", width = 15)
    @ApiModelProperty(value = "拼团总人数")
	private java.lang.Integer maxPeople;
	/**团购次数*/
	@Excel(name = "团购次数", width = 15)
    @ApiModelProperty(value = "团购次数")
	private java.lang.Integer limitGoods;
	/**所属店铺*/
	@Excel(name = "所属店铺", width = 15)
    @ApiModelProperty(value = "所属店铺")
	private java.lang.Integer storeId;
	/**pic*/
	@Excel(name = "pic", width = 15)
    @ApiModelProperty(value = "pic")
	private java.lang.String pic;
}
